*{
	margin: 0;
	padding:0;
}
nav{
	width: 100%;
	height: 50px;
	display: flex;
	background-color: rgba(0,0,0,0.3);
	position: fixed;
	top: 0;
}
nav a{
	display: block;
	width: 150px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	text-decoration: none;
	color: white;
}
a:hover{
	color: #999;
}
.banner{
	height: 320px;
	background-color: black;
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 50px;
}
.product{
	display: flex;
}
.product a{
	display: block;
	width: 300px;
	height:300px;
	background-size: 100% 100%;
	margin-top: 20px;
	border: 1px solid black;
}
.product a:nth-child(1){
	background-image: url(./images/airpods_large.jpg);
}
.product a:nth-child(2){
	background-image: url(./images/erji.jpg);
}
.product a:nth-child(3){
	background-image: url(./images/homepod_large.jpg);
}
.product a:nth-child(4){
	background-image: url(./images/music.jpg);
}
/*.product a:nth-child(5){
	background-image: url(./images/music.jpg);
}
.product a:nth-child(6){
	background-image: url(./images/homepod_large.jpg);
}
.product a:nth-child(7){
	background-image: url(./images/erji.jpg);
}
.product a:nth-child(8){
	background-image: url(./images/airpods_large.jpg);
}*/